package com.huopaolan.yohuoshop.Mvp.Model;

import com.huopaolan.lib_core.Http.MResponseManager;
import com.huopaolan.lib_core.Mvp.Model.BaseModel;
import com.huopaolan.yohuoshop.Bean.BrandEntity;
import com.huopaolan.yohuoshop.Mvp.Contract.BrandFragmentContract;
import com.huopaolan.yohuoshop.NetWork.API;

import javax.inject.Inject;

import io.reactivex.Observable;

public class BrandFragmentModel extends BaseModel implements BrandFragmentContract.BrandIModel {
    @Inject
    public BrandFragmentModel(){}

    @Override
    public Observable<BrandEntity> brand_list_request(String request) {
        return MResponseManager.obtainRetrofit(API.class).brand_goods_request(request);
    }

    @Override
    public void destroy() {

    }
}
